{include file='header.tpl'}
<div class="box">
{if $data.msg}<div style="background:#FCF; border:#F00 1px solid; padding:10px;">{$data.msg}</div>{/if}
<form action="login.php" method="post" name="theForm">
<table>
<tr><td>用户名:</td><td><input type="text" name="username" id="username" value="{$data.username}" /></td></tr>
<tr><td>密码:</td><td><input type="password" name="pwd" id="pwd" value="{$data.pwd}" /></td></tr>
<tr><td>&nbsp;</td><td><button type="submit">登陆</button></td></tr>
</table>
</form>
</div>

{include file='footer.tpl'}